//
//  Const.swift
//  todaySwift
//
//  Created by ChokWah on 2018/3/10.
//  Copyright © 2018年 ChokWah. All rights reserved.
//

import Foundation
import UIKit

/// 屏幕宽度
let screenWidth = UIScreen.main.bounds.width
/// 屏幕高度
let screenHeight = UIScreen.main.bounds.height

let BASE_URL  : String = "https://is.snssdk.com"
let device_id : Int = 51051126255
let iid  : Int = 30544442228

let kMyHeaderViewHeight : CGFloat = 280
let kUserDetailHeaderBGImageViewHeight: CGFloat = 146
let isIPhoneX: Bool = screenHeight == 812 ? true : false

// 关注的用户详情界面 topTab 的按钮宽度
let topTabButtonWidth: CGFloat = screenWidth * 0.2
// 关注的用户详情界面 topTab 的指示条的宽度，高度
let topTabindicatorWidth : CGFloat = 40
let topTabindicatorHeight: CGFloat = 2

let MyPresentationControllerDismiss = "MyPresentationControllerDismiss"
let NavigationBarConcernButtonClicked = "NavigationBarConcernButtonClicked"
let UserDetailHeaderViewButtonClicked = "UserDetailHeaderViewButtonClicked"

/// 动态图片的宽高
// 图片的宽高
let image1Width: CGFloat = screenWidth * 0.5
let image2Width: CGFloat = (screenWidth - 35) * 0.5
let image3Width: CGFloat = (screenWidth - 40) / 3
